package cn.pku.ss.sirx.sna.ib;

/**
 * Interface to calculate something
 *
 * @author SirX
 * @version 1.0
 */
public interface ICalculator {

    /**
     * Calculate using the given object.
     * @param object the object to calculate
     */
    public void calculate(Object object);
    
    /**
     * Get the calculate result according to current calculate progress.
     * @return calculate result according to current calculate progress
     */
    public Object getCalculateResult();
    
}
